<?php

namespace App\Remote\Feishu\Message\Tools;

abstract class MsgBuildBaseTools
{


    public string $title;

    public array $content = [];

    private function __construct(string $title)
    {
        $this->title = $title;
    }


    /**
     * @return static
     */
    public static function getInstance(string $title): MsgBuildBaseTools
    {
        return new static($title);
    }

    abstract function toArray();


}
